package com.wr.common.mapper;

import com.wr.common.entity.TbSysUser;
import com.wr.common.utils.RedisCache;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.context.annotation.Primary;
import tk.mybatis.mapper.MyMapper;

@Mapper
@CacheNamespace(implementation = RedisCache.class)  // 打开mybatis+redis 的二级缓存
public interface TbSysUserMapper extends MyMapper<TbSysUser> {
}